dofile("External/glsdk/links.lua")

solution "Orb"
	configurations {"Debug", "Release"}
	defines {"FREEGLUT_STATIC"}

	project "Renderer"
		location("Renderer/")
		kind "ConsoleApp"
		language "C++"
		files "Renderer/*.cpp"
		files "Renderer/*.h"
		
		targetdir "../Bin/"
		objdir "../Intermediate/"
		
		UseLibs {"glload", "glimage", "glm", "glutil", "glmesh", "freeglut"}
		links {"glu32", "opengl32", "gdi32", "winmm", "user32"}

		configuration "Debug"
			targetsuffix "D"
			defines "DEBUG"
			flags "Symbols"
		
		configuration "Release"
			defines "NDEBUG"
			--flags {"OptimizeSpeed", "NoFramePointer", "ExtraWarnings", "NoEditAndContinue"}
			flags {"Optimize"}